#include <iostream>
enum zimu {A,B,C,D};
int current = 0;

void change(zimu p1)
{
	current = p1;
}
int main()
{
	std::cout<<current<<std::endl;
	change(zimu::B);
	std::cout<<current<<std::endl;
	return 0;
}